<?php

define('ROOT', dirname(__FILE__));

define('WEBROOT', dirname(__FILE__));
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);

if(isset($_GET['dev'])){
    unlink(ROOT .'/cache/class_path.php');
}

include_once(ROOT.'/libs/core/bootstrap.php');

include(ROOT.'/config/helper.php');

$displatcher = new Dispatcher();
$displatcher->dispatch();
?>